package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxy
 * @since 2022-08-12
 */
@Getter
@Setter
  @TableName("ncg_app_product")
@ApiModel(value = "AppProduct对象", description = "")
public class AppProduct implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("商品id")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("缩图")
      private String icon;

      @ApiModelProperty("商品名称")
      private String name;

      @ApiModelProperty("商品简介")
      private String info;

      @ApiModelProperty("价格")
      private BigDecimal price;

      @ApiModelProperty("市场价")
      private BigDecimal otprice;

      @ApiModelProperty("租金")
      private BigDecimal rent;

      @ApiModelProperty("押金")
      private BigDecimal deposit;

      @ApiModelProperty("商品条码（二维码）")
      private String barode;

      @ApiModelProperty("轮播图 系统写死的暂无")
      private String sliderimage;

      @ApiModelProperty("商品图片 系统写死的暂无")
      private String image;

      @ApiModelProperty("分类id")
      private String cateid;

      @ApiModelProperty("库存")
      private Integer stock;

      @ApiModelProperty("销量")
      private Integer sales;

      @ApiModelProperty("是否显示")
      private Boolean isshow;

      @ApiModelProperty("配件")
      private String subPart;

      @ApiModelProperty("是否删除")
      private Boolean isdelete;

      @ApiModelProperty("删除时间")
      private LocalDateTime deletetime;

      @ApiModelProperty("添加时间")
      private LocalDateTime createtime;


}
